package Generics;

import java.util.ArrayList;

/**
 * ClassName:ListUtilText
 * Package:Gather.DataStructure
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/2/7-19:12
 * @Version:v1.0
 */
public class ListUtilText {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        ListUtil.addAll(list,"aaa","bbb","ccc","ddd");
        System.out.println(list);

        ArrayList<Integer> list2 = new ArrayList<>();
        ListUtil.addAll(list2,1,2,3,4,5,6,7,8);
        System.out.println(list2);
    }
}
